package com.cloudcc.boot.entity.sap;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class SapOrderShippingInfoVo {

    @JsonProperty("sapOrderNumber")
    @JsonAlias("sapOrderNumber")
    private String sapOrderNumber;

    @JsonProperty("deliveryDate")
    @JsonAlias("deliveryDate")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deliveryDate;

    @JsonProperty("items")
    @JsonAlias("items")
    private List<SapOrderItemShippingInfoVo> items;

}
